using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Web.Profile;
using webapp4U;

namespace webapp4U.UI.Admin
{
   public partial class ManageUsers : BasePage
   {
       protected void Page_Load(object sender, EventArgs e)
       {
       }


       protected void btDelete_Click(object sender, EventArgs e)
       {
           foreach (GridViewRow row in GridViewItem.Rows)
           {
               bool isChecked = ((CheckBox)row.FindControl("chkSelect")).Checked;
               if (isChecked)
               {
                   int ID = Convert.ToInt32(((CheckBox)row.FindControl("chkSelect")).ToolTip.Trim());
                   webapp4U.BOL.Bosuutap.Delete(ID);
               }
           }
           this.DataBind();
       }
   }
}